package com.zhongwang.mms.gen.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AccOffEquipmentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AccOffEquipmentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOffIdIsNull() {
            addCriterion("off_id is null");
            return (Criteria) this;
        }

        public Criteria andOffIdIsNotNull() {
            addCriterion("off_id is not null");
            return (Criteria) this;
        }

        public Criteria andOffIdEqualTo(Integer value) {
            addCriterion("off_id =", value, "offId");
            return (Criteria) this;
        }

        public Criteria andOffIdNotEqualTo(Integer value) {
            addCriterion("off_id <>", value, "offId");
            return (Criteria) this;
        }

        public Criteria andOffIdGreaterThan(Integer value) {
            addCriterion("off_id >", value, "offId");
            return (Criteria) this;
        }

        public Criteria andOffIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("off_id >=", value, "offId");
            return (Criteria) this;
        }

        public Criteria andOffIdLessThan(Integer value) {
            addCriterion("off_id <", value, "offId");
            return (Criteria) this;
        }

        public Criteria andOffIdLessThanOrEqualTo(Integer value) {
            addCriterion("off_id <=", value, "offId");
            return (Criteria) this;
        }

        public Criteria andOffIdIn(List<Integer> values) {
            addCriterion("off_id in", values, "offId");
            return (Criteria) this;
        }

        public Criteria andOffIdNotIn(List<Integer> values) {
            addCriterion("off_id not in", values, "offId");
            return (Criteria) this;
        }

        public Criteria andOffIdBetween(Integer value1, Integer value2) {
            addCriterion("off_id between", value1, value2, "offId");
            return (Criteria) this;
        }

        public Criteria andOffIdNotBetween(Integer value1, Integer value2) {
            addCriterion("off_id not between", value1, value2, "offId");
            return (Criteria) this;
        }

        public Criteria andOffEqNameIsNull() {
            addCriterion("off_eq_name is null");
            return (Criteria) this;
        }

        public Criteria andOffEqNameIsNotNull() {
            addCriterion("off_eq_name is not null");
            return (Criteria) this;
        }

        public Criteria andOffEqNameEqualTo(String value) {
            addCriterion("off_eq_name =", value, "offEqName");
            return (Criteria) this;
        }

        public Criteria andOffEqNameNotEqualTo(String value) {
            addCriterion("off_eq_name <>", value, "offEqName");
            return (Criteria) this;
        }

        public Criteria andOffEqNameGreaterThan(String value) {
            addCriterion("off_eq_name >", value, "offEqName");
            return (Criteria) this;
        }

        public Criteria andOffEqNameGreaterThanOrEqualTo(String value) {
            addCriterion("off_eq_name >=", value, "offEqName");
            return (Criteria) this;
        }

        public Criteria andOffEqNameLessThan(String value) {
            addCriterion("off_eq_name <", value, "offEqName");
            return (Criteria) this;
        }

        public Criteria andOffEqNameLessThanOrEqualTo(String value) {
            addCriterion("off_eq_name <=", value, "offEqName");
            return (Criteria) this;
        }

        public Criteria andOffEqNameLike(String value) {
            addCriterion("off_eq_name like", value, "offEqName");
            return (Criteria) this;
        }

        public Criteria andOffEqNameNotLike(String value) {
            addCriterion("off_eq_name not like", value, "offEqName");
            return (Criteria) this;
        }

        public Criteria andOffEqNameIn(List<String> values) {
            addCriterion("off_eq_name in", values, "offEqName");
            return (Criteria) this;
        }

        public Criteria andOffEqNameNotIn(List<String> values) {
            addCriterion("off_eq_name not in", values, "offEqName");
            return (Criteria) this;
        }

        public Criteria andOffEqNameBetween(String value1, String value2) {
            addCriterion("off_eq_name between", value1, value2, "offEqName");
            return (Criteria) this;
        }

        public Criteria andOffEqNameNotBetween(String value1, String value2) {
            addCriterion("off_eq_name not between", value1, value2, "offEqName");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeIsNull() {
            addCriterion("off_eq_code is null");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeIsNotNull() {
            addCriterion("off_eq_code is not null");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeEqualTo(String value) {
            addCriterion("off_eq_code =", value, "offEqCode");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeNotEqualTo(String value) {
            addCriterion("off_eq_code <>", value, "offEqCode");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeGreaterThan(String value) {
            addCriterion("off_eq_code >", value, "offEqCode");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeGreaterThanOrEqualTo(String value) {
            addCriterion("off_eq_code >=", value, "offEqCode");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeLessThan(String value) {
            addCriterion("off_eq_code <", value, "offEqCode");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeLessThanOrEqualTo(String value) {
            addCriterion("off_eq_code <=", value, "offEqCode");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeLike(String value) {
            addCriterion("off_eq_code like", value, "offEqCode");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeNotLike(String value) {
            addCriterion("off_eq_code not like", value, "offEqCode");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeIn(List<String> values) {
            addCriterion("off_eq_code in", values, "offEqCode");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeNotIn(List<String> values) {
            addCriterion("off_eq_code not in", values, "offEqCode");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeBetween(String value1, String value2) {
            addCriterion("off_eq_code between", value1, value2, "offEqCode");
            return (Criteria) this;
        }

        public Criteria andOffEqCodeNotBetween(String value1, String value2) {
            addCriterion("off_eq_code not between", value1, value2, "offEqCode");
            return (Criteria) this;
        }

        public Criteria andOffManUrerIsNull() {
            addCriterion("off_man_urer is null");
            return (Criteria) this;
        }

        public Criteria andOffManUrerIsNotNull() {
            addCriterion("off_man_urer is not null");
            return (Criteria) this;
        }

        public Criteria andOffManUrerEqualTo(String value) {
            addCriterion("off_man_urer =", value, "offManUrer");
            return (Criteria) this;
        }

        public Criteria andOffManUrerNotEqualTo(String value) {
            addCriterion("off_man_urer <>", value, "offManUrer");
            return (Criteria) this;
        }

        public Criteria andOffManUrerGreaterThan(String value) {
            addCriterion("off_man_urer >", value, "offManUrer");
            return (Criteria) this;
        }

        public Criteria andOffManUrerGreaterThanOrEqualTo(String value) {
            addCriterion("off_man_urer >=", value, "offManUrer");
            return (Criteria) this;
        }

        public Criteria andOffManUrerLessThan(String value) {
            addCriterion("off_man_urer <", value, "offManUrer");
            return (Criteria) this;
        }

        public Criteria andOffManUrerLessThanOrEqualTo(String value) {
            addCriterion("off_man_urer <=", value, "offManUrer");
            return (Criteria) this;
        }

        public Criteria andOffManUrerLike(String value) {
            addCriterion("off_man_urer like", value, "offManUrer");
            return (Criteria) this;
        }

        public Criteria andOffManUrerNotLike(String value) {
            addCriterion("off_man_urer not like", value, "offManUrer");
            return (Criteria) this;
        }

        public Criteria andOffManUrerIn(List<String> values) {
            addCriterion("off_man_urer in", values, "offManUrer");
            return (Criteria) this;
        }

        public Criteria andOffManUrerNotIn(List<String> values) {
            addCriterion("off_man_urer not in", values, "offManUrer");
            return (Criteria) this;
        }

        public Criteria andOffManUrerBetween(String value1, String value2) {
            addCriterion("off_man_urer between", value1, value2, "offManUrer");
            return (Criteria) this;
        }

        public Criteria andOffManUrerNotBetween(String value1, String value2) {
            addCriterion("off_man_urer not between", value1, value2, "offManUrer");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberIsNull() {
            addCriterion("off_eac_number is null");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberIsNotNull() {
            addCriterion("off_eac_number is not null");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberEqualTo(String value) {
            addCriterion("off_eac_number =", value, "offEacNumber");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberNotEqualTo(String value) {
            addCriterion("off_eac_number <>", value, "offEacNumber");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberGreaterThan(String value) {
            addCriterion("off_eac_number >", value, "offEacNumber");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberGreaterThanOrEqualTo(String value) {
            addCriterion("off_eac_number >=", value, "offEacNumber");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberLessThan(String value) {
            addCriterion("off_eac_number <", value, "offEacNumber");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberLessThanOrEqualTo(String value) {
            addCriterion("off_eac_number <=", value, "offEacNumber");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberLike(String value) {
            addCriterion("off_eac_number like", value, "offEacNumber");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberNotLike(String value) {
            addCriterion("off_eac_number not like", value, "offEacNumber");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberIn(List<String> values) {
            addCriterion("off_eac_number in", values, "offEacNumber");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberNotIn(List<String> values) {
            addCriterion("off_eac_number not in", values, "offEacNumber");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberBetween(String value1, String value2) {
            addCriterion("off_eac_number between", value1, value2, "offEacNumber");
            return (Criteria) this;
        }

        public Criteria andOffEacNumberNotBetween(String value1, String value2) {
            addCriterion("off_eac_number not between", value1, value2, "offEacNumber");
            return (Criteria) this;
        }

        public Criteria andOffProModIsNull() {
            addCriterion("off_pro_mod is null");
            return (Criteria) this;
        }

        public Criteria andOffProModIsNotNull() {
            addCriterion("off_pro_mod is not null");
            return (Criteria) this;
        }

        public Criteria andOffProModEqualTo(String value) {
            addCriterion("off_pro_mod =", value, "offProMod");
            return (Criteria) this;
        }

        public Criteria andOffProModNotEqualTo(String value) {
            addCriterion("off_pro_mod <>", value, "offProMod");
            return (Criteria) this;
        }

        public Criteria andOffProModGreaterThan(String value) {
            addCriterion("off_pro_mod >", value, "offProMod");
            return (Criteria) this;
        }

        public Criteria andOffProModGreaterThanOrEqualTo(String value) {
            addCriterion("off_pro_mod >=", value, "offProMod");
            return (Criteria) this;
        }

        public Criteria andOffProModLessThan(String value) {
            addCriterion("off_pro_mod <", value, "offProMod");
            return (Criteria) this;
        }

        public Criteria andOffProModLessThanOrEqualTo(String value) {
            addCriterion("off_pro_mod <=", value, "offProMod");
            return (Criteria) this;
        }

        public Criteria andOffProModLike(String value) {
            addCriterion("off_pro_mod like", value, "offProMod");
            return (Criteria) this;
        }

        public Criteria andOffProModNotLike(String value) {
            addCriterion("off_pro_mod not like", value, "offProMod");
            return (Criteria) this;
        }

        public Criteria andOffProModIn(List<String> values) {
            addCriterion("off_pro_mod in", values, "offProMod");
            return (Criteria) this;
        }

        public Criteria andOffProModNotIn(List<String> values) {
            addCriterion("off_pro_mod not in", values, "offProMod");
            return (Criteria) this;
        }

        public Criteria andOffProModBetween(String value1, String value2) {
            addCriterion("off_pro_mod between", value1, value2, "offProMod");
            return (Criteria) this;
        }

        public Criteria andOffProModNotBetween(String value1, String value2) {
            addCriterion("off_pro_mod not between", value1, value2, "offProMod");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocIsNull() {
            addCriterion("off_spe_loc is null");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocIsNotNull() {
            addCriterion("off_spe_loc is not null");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocEqualTo(String value) {
            addCriterion("off_spe_loc =", value, "offSpeLoc");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocNotEqualTo(String value) {
            addCriterion("off_spe_loc <>", value, "offSpeLoc");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocGreaterThan(String value) {
            addCriterion("off_spe_loc >", value, "offSpeLoc");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocGreaterThanOrEqualTo(String value) {
            addCriterion("off_spe_loc >=", value, "offSpeLoc");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocLessThan(String value) {
            addCriterion("off_spe_loc <", value, "offSpeLoc");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocLessThanOrEqualTo(String value) {
            addCriterion("off_spe_loc <=", value, "offSpeLoc");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocLike(String value) {
            addCriterion("off_spe_loc like", value, "offSpeLoc");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocNotLike(String value) {
            addCriterion("off_spe_loc not like", value, "offSpeLoc");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocIn(List<String> values) {
            addCriterion("off_spe_loc in", values, "offSpeLoc");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocNotIn(List<String> values) {
            addCriterion("off_spe_loc not in", values, "offSpeLoc");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocBetween(String value1, String value2) {
            addCriterion("off_spe_loc between", value1, value2, "offSpeLoc");
            return (Criteria) this;
        }

        public Criteria andOffSpeLocNotBetween(String value1, String value2) {
            addCriterion("off_spe_loc not between", value1, value2, "offSpeLoc");
            return (Criteria) this;
        }

        public Criteria andOffWorkIsNull() {
            addCriterion("off_work is null");
            return (Criteria) this;
        }

        public Criteria andOffWorkIsNotNull() {
            addCriterion("off_work is not null");
            return (Criteria) this;
        }

        public Criteria andOffWorkEqualTo(String value) {
            addCriterion("off_work =", value, "offWork");
            return (Criteria) this;
        }

        public Criteria andOffWorkNotEqualTo(String value) {
            addCriterion("off_work <>", value, "offWork");
            return (Criteria) this;
        }

        public Criteria andOffWorkGreaterThan(String value) {
            addCriterion("off_work >", value, "offWork");
            return (Criteria) this;
        }

        public Criteria andOffWorkGreaterThanOrEqualTo(String value) {
            addCriterion("off_work >=", value, "offWork");
            return (Criteria) this;
        }

        public Criteria andOffWorkLessThan(String value) {
            addCriterion("off_work <", value, "offWork");
            return (Criteria) this;
        }

        public Criteria andOffWorkLessThanOrEqualTo(String value) {
            addCriterion("off_work <=", value, "offWork");
            return (Criteria) this;
        }

        public Criteria andOffWorkLike(String value) {
            addCriterion("off_work like", value, "offWork");
            return (Criteria) this;
        }

        public Criteria andOffWorkNotLike(String value) {
            addCriterion("off_work not like", value, "offWork");
            return (Criteria) this;
        }

        public Criteria andOffWorkIn(List<String> values) {
            addCriterion("off_work in", values, "offWork");
            return (Criteria) this;
        }

        public Criteria andOffWorkNotIn(List<String> values) {
            addCriterion("off_work not in", values, "offWork");
            return (Criteria) this;
        }

        public Criteria andOffWorkBetween(String value1, String value2) {
            addCriterion("off_work between", value1, value2, "offWork");
            return (Criteria) this;
        }

        public Criteria andOffWorkNotBetween(String value1, String value2) {
            addCriterion("off_work not between", value1, value2, "offWork");
            return (Criteria) this;
        }

        public Criteria andOffSourceIsNull() {
            addCriterion("off_source is null");
            return (Criteria) this;
        }

        public Criteria andOffSourceIsNotNull() {
            addCriterion("off_source is not null");
            return (Criteria) this;
        }

        public Criteria andOffSourceEqualTo(String value) {
            addCriterion("off_source =", value, "offSource");
            return (Criteria) this;
        }

        public Criteria andOffSourceNotEqualTo(String value) {
            addCriterion("off_source <>", value, "offSource");
            return (Criteria) this;
        }

        public Criteria andOffSourceGreaterThan(String value) {
            addCriterion("off_source >", value, "offSource");
            return (Criteria) this;
        }

        public Criteria andOffSourceGreaterThanOrEqualTo(String value) {
            addCriterion("off_source >=", value, "offSource");
            return (Criteria) this;
        }

        public Criteria andOffSourceLessThan(String value) {
            addCriterion("off_source <", value, "offSource");
            return (Criteria) this;
        }

        public Criteria andOffSourceLessThanOrEqualTo(String value) {
            addCriterion("off_source <=", value, "offSource");
            return (Criteria) this;
        }

        public Criteria andOffSourceLike(String value) {
            addCriterion("off_source like", value, "offSource");
            return (Criteria) this;
        }

        public Criteria andOffSourceNotLike(String value) {
            addCriterion("off_source not like", value, "offSource");
            return (Criteria) this;
        }

        public Criteria andOffSourceIn(List<String> values) {
            addCriterion("off_source in", values, "offSource");
            return (Criteria) this;
        }

        public Criteria andOffSourceNotIn(List<String> values) {
            addCriterion("off_source not in", values, "offSource");
            return (Criteria) this;
        }

        public Criteria andOffSourceBetween(String value1, String value2) {
            addCriterion("off_source between", value1, value2, "offSource");
            return (Criteria) this;
        }

        public Criteria andOffSourceNotBetween(String value1, String value2) {
            addCriterion("off_source not between", value1, value2, "offSource");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmIsNull() {
            addCriterion("off_eqm_unm is null");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmIsNotNull() {
            addCriterion("off_eqm_unm is not null");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmEqualTo(String value) {
            addCriterion("off_eqm_unm =", value, "offEqmUnm");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmNotEqualTo(String value) {
            addCriterion("off_eqm_unm <>", value, "offEqmUnm");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmGreaterThan(String value) {
            addCriterion("off_eqm_unm >", value, "offEqmUnm");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmGreaterThanOrEqualTo(String value) {
            addCriterion("off_eqm_unm >=", value, "offEqmUnm");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmLessThan(String value) {
            addCriterion("off_eqm_unm <", value, "offEqmUnm");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmLessThanOrEqualTo(String value) {
            addCriterion("off_eqm_unm <=", value, "offEqmUnm");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmLike(String value) {
            addCriterion("off_eqm_unm like", value, "offEqmUnm");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmNotLike(String value) {
            addCriterion("off_eqm_unm not like", value, "offEqmUnm");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmIn(List<String> values) {
            addCriterion("off_eqm_unm in", values, "offEqmUnm");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmNotIn(List<String> values) {
            addCriterion("off_eqm_unm not in", values, "offEqmUnm");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmBetween(String value1, String value2) {
            addCriterion("off_eqm_unm between", value1, value2, "offEqmUnm");
            return (Criteria) this;
        }

        public Criteria andOffEqmUnmNotBetween(String value1, String value2) {
            addCriterion("off_eqm_unm not between", value1, value2, "offEqmUnm");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaIsNull() {
            addCriterion("off_eqm_sta is null");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaIsNotNull() {
            addCriterion("off_eqm_sta is not null");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaEqualTo(String value) {
            addCriterion("off_eqm_sta =", value, "offEqmSta");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaNotEqualTo(String value) {
            addCriterion("off_eqm_sta <>", value, "offEqmSta");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaGreaterThan(String value) {
            addCriterion("off_eqm_sta >", value, "offEqmSta");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaGreaterThanOrEqualTo(String value) {
            addCriterion("off_eqm_sta >=", value, "offEqmSta");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaLessThan(String value) {
            addCriterion("off_eqm_sta <", value, "offEqmSta");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaLessThanOrEqualTo(String value) {
            addCriterion("off_eqm_sta <=", value, "offEqmSta");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaLike(String value) {
            addCriterion("off_eqm_sta like", value, "offEqmSta");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaNotLike(String value) {
            addCriterion("off_eqm_sta not like", value, "offEqmSta");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaIn(List<String> values) {
            addCriterion("off_eqm_sta in", values, "offEqmSta");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaNotIn(List<String> values) {
            addCriterion("off_eqm_sta not in", values, "offEqmSta");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaBetween(String value1, String value2) {
            addCriterion("off_eqm_sta between", value1, value2, "offEqmSta");
            return (Criteria) this;
        }

        public Criteria andOffEqmStaNotBetween(String value1, String value2) {
            addCriterion("off_eqm_sta not between", value1, value2, "offEqmSta");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleIsNull() {
            addCriterion("off_per_lble is null");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleIsNotNull() {
            addCriterion("off_per_lble is not null");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleEqualTo(String value) {
            addCriterion("off_per_lble =", value, "offPerLble");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleNotEqualTo(String value) {
            addCriterion("off_per_lble <>", value, "offPerLble");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleGreaterThan(String value) {
            addCriterion("off_per_lble >", value, "offPerLble");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleGreaterThanOrEqualTo(String value) {
            addCriterion("off_per_lble >=", value, "offPerLble");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleLessThan(String value) {
            addCriterion("off_per_lble <", value, "offPerLble");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleLessThanOrEqualTo(String value) {
            addCriterion("off_per_lble <=", value, "offPerLble");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleLike(String value) {
            addCriterion("off_per_lble like", value, "offPerLble");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleNotLike(String value) {
            addCriterion("off_per_lble not like", value, "offPerLble");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleIn(List<String> values) {
            addCriterion("off_per_lble in", values, "offPerLble");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleNotIn(List<String> values) {
            addCriterion("off_per_lble not in", values, "offPerLble");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleBetween(String value1, String value2) {
            addCriterion("off_per_lble between", value1, value2, "offPerLble");
            return (Criteria) this;
        }

        public Criteria andOffPerLbleNotBetween(String value1, String value2) {
            addCriterion("off_per_lble not between", value1, value2, "offPerLble");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoIsNull() {
            addCriterion("off_key_info is null");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoIsNotNull() {
            addCriterion("off_key_info is not null");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoEqualTo(String value) {
            addCriterion("off_key_info =", value, "offKeyInfo");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoNotEqualTo(String value) {
            addCriterion("off_key_info <>", value, "offKeyInfo");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoGreaterThan(String value) {
            addCriterion("off_key_info >", value, "offKeyInfo");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoGreaterThanOrEqualTo(String value) {
            addCriterion("off_key_info >=", value, "offKeyInfo");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoLessThan(String value) {
            addCriterion("off_key_info <", value, "offKeyInfo");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoLessThanOrEqualTo(String value) {
            addCriterion("off_key_info <=", value, "offKeyInfo");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoLike(String value) {
            addCriterion("off_key_info like", value, "offKeyInfo");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoNotLike(String value) {
            addCriterion("off_key_info not like", value, "offKeyInfo");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoIn(List<String> values) {
            addCriterion("off_key_info in", values, "offKeyInfo");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoNotIn(List<String> values) {
            addCriterion("off_key_info not in", values, "offKeyInfo");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoBetween(String value1, String value2) {
            addCriterion("off_key_info between", value1, value2, "offKeyInfo");
            return (Criteria) this;
        }

        public Criteria andOffKeyInfoNotBetween(String value1, String value2) {
            addCriterion("off_key_info not between", value1, value2, "offKeyInfo");
            return (Criteria) this;
        }

        public Criteria andOffRemarkIsNull() {
            addCriterion("off_remark is null");
            return (Criteria) this;
        }

        public Criteria andOffRemarkIsNotNull() {
            addCriterion("off_remark is not null");
            return (Criteria) this;
        }

        public Criteria andOffRemarkEqualTo(String value) {
            addCriterion("off_remark =", value, "offRemark");
            return (Criteria) this;
        }

        public Criteria andOffRemarkNotEqualTo(String value) {
            addCriterion("off_remark <>", value, "offRemark");
            return (Criteria) this;
        }

        public Criteria andOffRemarkGreaterThan(String value) {
            addCriterion("off_remark >", value, "offRemark");
            return (Criteria) this;
        }

        public Criteria andOffRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("off_remark >=", value, "offRemark");
            return (Criteria) this;
        }

        public Criteria andOffRemarkLessThan(String value) {
            addCriterion("off_remark <", value, "offRemark");
            return (Criteria) this;
        }

        public Criteria andOffRemarkLessThanOrEqualTo(String value) {
            addCriterion("off_remark <=", value, "offRemark");
            return (Criteria) this;
        }

        public Criteria andOffRemarkLike(String value) {
            addCriterion("off_remark like", value, "offRemark");
            return (Criteria) this;
        }

        public Criteria andOffRemarkNotLike(String value) {
            addCriterion("off_remark not like", value, "offRemark");
            return (Criteria) this;
        }

        public Criteria andOffRemarkIn(List<String> values) {
            addCriterion("off_remark in", values, "offRemark");
            return (Criteria) this;
        }

        public Criteria andOffRemarkNotIn(List<String> values) {
            addCriterion("off_remark not in", values, "offRemark");
            return (Criteria) this;
        }

        public Criteria andOffRemarkBetween(String value1, String value2) {
            addCriterion("off_remark between", value1, value2, "offRemark");
            return (Criteria) this;
        }

        public Criteria andOffRemarkNotBetween(String value1, String value2) {
            addCriterion("off_remark not between", value1, value2, "offRemark");
            return (Criteria) this;
        }

        public Criteria andOffIsdeleteIsNull() {
            addCriterion("off_isdelete is null");
            return (Criteria) this;
        }

        public Criteria andOffIsdeleteIsNotNull() {
            addCriterion("off_isdelete is not null");
            return (Criteria) this;
        }

        public Criteria andOffIsdeleteEqualTo(Integer value) {
            addCriterion("off_isdelete =", value, "offIsdelete");
            return (Criteria) this;
        }

        public Criteria andOffIsdeleteNotEqualTo(Integer value) {
            addCriterion("off_isdelete <>", value, "offIsdelete");
            return (Criteria) this;
        }

        public Criteria andOffIsdeleteGreaterThan(Integer value) {
            addCriterion("off_isdelete >", value, "offIsdelete");
            return (Criteria) this;
        }

        public Criteria andOffIsdeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("off_isdelete >=", value, "offIsdelete");
            return (Criteria) this;
        }

        public Criteria andOffIsdeleteLessThan(Integer value) {
            addCriterion("off_isdelete <", value, "offIsdelete");
            return (Criteria) this;
        }

        public Criteria andOffIsdeleteLessThanOrEqualTo(Integer value) {
            addCriterion("off_isdelete <=", value, "offIsdelete");
            return (Criteria) this;
        }

        public Criteria andOffIsdeleteIn(List<Integer> values) {
            addCriterion("off_isdelete in", values, "offIsdelete");
            return (Criteria) this;
        }

        public Criteria andOffIsdeleteNotIn(List<Integer> values) {
            addCriterion("off_isdelete not in", values, "offIsdelete");
            return (Criteria) this;
        }

        public Criteria andOffIsdeleteBetween(Integer value1, Integer value2) {
            addCriterion("off_isdelete between", value1, value2, "offIsdelete");
            return (Criteria) this;
        }

        public Criteria andOffIsdeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("off_isdelete not between", value1, value2, "offIsdelete");
            return (Criteria) this;
        }

        public Criteria andOffSortNumIsNull() {
            addCriterion("off_sort_num is null");
            return (Criteria) this;
        }

        public Criteria andOffSortNumIsNotNull() {
            addCriterion("off_sort_num is not null");
            return (Criteria) this;
        }

        public Criteria andOffSortNumEqualTo(Integer value) {
            addCriterion("off_sort_num =", value, "offSortNum");
            return (Criteria) this;
        }

        public Criteria andOffSortNumNotEqualTo(Integer value) {
            addCriterion("off_sort_num <>", value, "offSortNum");
            return (Criteria) this;
        }

        public Criteria andOffSortNumGreaterThan(Integer value) {
            addCriterion("off_sort_num >", value, "offSortNum");
            return (Criteria) this;
        }

        public Criteria andOffSortNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("off_sort_num >=", value, "offSortNum");
            return (Criteria) this;
        }

        public Criteria andOffSortNumLessThan(Integer value) {
            addCriterion("off_sort_num <", value, "offSortNum");
            return (Criteria) this;
        }

        public Criteria andOffSortNumLessThanOrEqualTo(Integer value) {
            addCriterion("off_sort_num <=", value, "offSortNum");
            return (Criteria) this;
        }

        public Criteria andOffSortNumIn(List<Integer> values) {
            addCriterion("off_sort_num in", values, "offSortNum");
            return (Criteria) this;
        }

        public Criteria andOffSortNumNotIn(List<Integer> values) {
            addCriterion("off_sort_num not in", values, "offSortNum");
            return (Criteria) this;
        }

        public Criteria andOffSortNumBetween(Integer value1, Integer value2) {
            addCriterion("off_sort_num between", value1, value2, "offSortNum");
            return (Criteria) this;
        }

        public Criteria andOffSortNumNotBetween(Integer value1, Integer value2) {
            addCriterion("off_sort_num not between", value1, value2, "offSortNum");
            return (Criteria) this;
        }

        public Criteria andOffCreUserIsNull() {
            addCriterion("off_cre_user is null");
            return (Criteria) this;
        }

        public Criteria andOffCreUserIsNotNull() {
            addCriterion("off_cre_user is not null");
            return (Criteria) this;
        }

        public Criteria andOffCreUserEqualTo(String value) {
            addCriterion("off_cre_user =", value, "offCreUser");
            return (Criteria) this;
        }

        public Criteria andOffCreUserNotEqualTo(String value) {
            addCriterion("off_cre_user <>", value, "offCreUser");
            return (Criteria) this;
        }

        public Criteria andOffCreUserGreaterThan(String value) {
            addCriterion("off_cre_user >", value, "offCreUser");
            return (Criteria) this;
        }

        public Criteria andOffCreUserGreaterThanOrEqualTo(String value) {
            addCriterion("off_cre_user >=", value, "offCreUser");
            return (Criteria) this;
        }

        public Criteria andOffCreUserLessThan(String value) {
            addCriterion("off_cre_user <", value, "offCreUser");
            return (Criteria) this;
        }

        public Criteria andOffCreUserLessThanOrEqualTo(String value) {
            addCriterion("off_cre_user <=", value, "offCreUser");
            return (Criteria) this;
        }

        public Criteria andOffCreUserLike(String value) {
            addCriterion("off_cre_user like", value, "offCreUser");
            return (Criteria) this;
        }

        public Criteria andOffCreUserNotLike(String value) {
            addCriterion("off_cre_user not like", value, "offCreUser");
            return (Criteria) this;
        }

        public Criteria andOffCreUserIn(List<String> values) {
            addCriterion("off_cre_user in", values, "offCreUser");
            return (Criteria) this;
        }

        public Criteria andOffCreUserNotIn(List<String> values) {
            addCriterion("off_cre_user not in", values, "offCreUser");
            return (Criteria) this;
        }

        public Criteria andOffCreUserBetween(String value1, String value2) {
            addCriterion("off_cre_user between", value1, value2, "offCreUser");
            return (Criteria) this;
        }

        public Criteria andOffCreUserNotBetween(String value1, String value2) {
            addCriterion("off_cre_user not between", value1, value2, "offCreUser");
            return (Criteria) this;
        }

        public Criteria andOffCreDateIsNull() {
            addCriterion("off_cre_date is null");
            return (Criteria) this;
        }

        public Criteria andOffCreDateIsNotNull() {
            addCriterion("off_cre_date is not null");
            return (Criteria) this;
        }

        public Criteria andOffCreDateEqualTo(Date value) {
            addCriterion("off_cre_date =", value, "offCreDate");
            return (Criteria) this;
        }

        public Criteria andOffCreDateNotEqualTo(Date value) {
            addCriterion("off_cre_date <>", value, "offCreDate");
            return (Criteria) this;
        }

        public Criteria andOffCreDateGreaterThan(Date value) {
            addCriterion("off_cre_date >", value, "offCreDate");
            return (Criteria) this;
        }

        public Criteria andOffCreDateGreaterThanOrEqualTo(Date value) {
            addCriterion("off_cre_date >=", value, "offCreDate");
            return (Criteria) this;
        }

        public Criteria andOffCreDateLessThan(Date value) {
            addCriterion("off_cre_date <", value, "offCreDate");
            return (Criteria) this;
        }

        public Criteria andOffCreDateLessThanOrEqualTo(Date value) {
            addCriterion("off_cre_date <=", value, "offCreDate");
            return (Criteria) this;
        }

        public Criteria andOffCreDateIn(List<Date> values) {
            addCriterion("off_cre_date in", values, "offCreDate");
            return (Criteria) this;
        }

        public Criteria andOffCreDateNotIn(List<Date> values) {
            addCriterion("off_cre_date not in", values, "offCreDate");
            return (Criteria) this;
        }

        public Criteria andOffCreDateBetween(Date value1, Date value2) {
            addCriterion("off_cre_date between", value1, value2, "offCreDate");
            return (Criteria) this;
        }

        public Criteria andOffCreDateNotBetween(Date value1, Date value2) {
            addCriterion("off_cre_date not between", value1, value2, "offCreDate");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserIsNull() {
            addCriterion("off_upd_user is null");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserIsNotNull() {
            addCriterion("off_upd_user is not null");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserEqualTo(String value) {
            addCriterion("off_upd_user =", value, "offUpdUser");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserNotEqualTo(String value) {
            addCriterion("off_upd_user <>", value, "offUpdUser");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserGreaterThan(String value) {
            addCriterion("off_upd_user >", value, "offUpdUser");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserGreaterThanOrEqualTo(String value) {
            addCriterion("off_upd_user >=", value, "offUpdUser");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserLessThan(String value) {
            addCriterion("off_upd_user <", value, "offUpdUser");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserLessThanOrEqualTo(String value) {
            addCriterion("off_upd_user <=", value, "offUpdUser");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserLike(String value) {
            addCriterion("off_upd_user like", value, "offUpdUser");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserNotLike(String value) {
            addCriterion("off_upd_user not like", value, "offUpdUser");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserIn(List<String> values) {
            addCriterion("off_upd_user in", values, "offUpdUser");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserNotIn(List<String> values) {
            addCriterion("off_upd_user not in", values, "offUpdUser");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserBetween(String value1, String value2) {
            addCriterion("off_upd_user between", value1, value2, "offUpdUser");
            return (Criteria) this;
        }

        public Criteria andOffUpdUserNotBetween(String value1, String value2) {
            addCriterion("off_upd_user not between", value1, value2, "offUpdUser");
            return (Criteria) this;
        }

        public Criteria andOffUpdDateIsNull() {
            addCriterion("off_upd_date is null");
            return (Criteria) this;
        }

        public Criteria andOffUpdDateIsNotNull() {
            addCriterion("off_upd_date is not null");
            return (Criteria) this;
        }

        public Criteria andOffUpdDateEqualTo(Date value) {
            addCriterion("off_upd_date =", value, "offUpdDate");
            return (Criteria) this;
        }

        public Criteria andOffUpdDateNotEqualTo(Date value) {
            addCriterion("off_upd_date <>", value, "offUpdDate");
            return (Criteria) this;
        }

        public Criteria andOffUpdDateGreaterThan(Date value) {
            addCriterion("off_upd_date >", value, "offUpdDate");
            return (Criteria) this;
        }

        public Criteria andOffUpdDateGreaterThanOrEqualTo(Date value) {
            addCriterion("off_upd_date >=", value, "offUpdDate");
            return (Criteria) this;
        }

        public Criteria andOffUpdDateLessThan(Date value) {
            addCriterion("off_upd_date <", value, "offUpdDate");
            return (Criteria) this;
        }

        public Criteria andOffUpdDateLessThanOrEqualTo(Date value) {
            addCriterion("off_upd_date <=", value, "offUpdDate");
            return (Criteria) this;
        }

        public Criteria andOffUpdDateIn(List<Date> values) {
            addCriterion("off_upd_date in", values, "offUpdDate");
            return (Criteria) this;
        }

        public Criteria andOffUpdDateNotIn(List<Date> values) {
            addCriterion("off_upd_date not in", values, "offUpdDate");
            return (Criteria) this;
        }

        public Criteria andOffUpdDateBetween(Date value1, Date value2) {
            addCriterion("off_upd_date between", value1, value2, "offUpdDate");
            return (Criteria) this;
        }

        public Criteria andOffUpdDateNotBetween(Date value1, Date value2) {
            addCriterion("off_upd_date not between", value1, value2, "offUpdDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}